= render :partial => "breadcrumb", :locals => { :action => '新增' }
    

%form.form-horizontal{:action => admin_products_path, :method => :post}
  .control-group
    %label.control-label{:for => 'name'}商品名称
    .controls
      %input{:type => :text, :name => 'product[name]', :value => @product.name}

  .control-group
    %label.control-label{:for => 'price'}商品价格
    .controls
      %input{:type => :text, :name => 'product[price]', :value => @product.price}

  .control-group
    .controls
      %button{:type => :submit, :class => 'btn btn-mini btn-success'}保存

